<div class="panel panel-default panel-intro">
    
    <div class="panel-heading">
        {:build_heading(null,FALSE)}
        <ul class="nav nav-tabs" data-field="status">
            {foreach name="statusList" item="vo"}
                 <li class="{:$Think.get.status === (string)$key ? 'active' : ''}">
                     <a href="#t-{$key}" data-value="{$key}" style="color: #0d0d0d;" class="goods_tab" data-toggle="tab">{$vo}</a>
                 </li>
            {/foreach}
        </ul>
    </div>
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('goods/goods/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('goods/goods/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('批量删除')}</a>
                        <a href="javascript:;" class="btn btn-success btn-disabled disabled btn-opera" title="批量下架" >
                            <i class="fa fa-pencil"></i>
                            {:__('批量下架')}
                        </a>

                        <a href="javascript:;" class="btn btn-success btn-disabled disabled btn-sjopera" title="批量上架" >
                            <i class="fa fa-pencil"></i>
                            {:__('批量上架')}
                        </a>

                        <div class="dropdown btn-group {:$auth->check('goods/goods/multi')?'':'hide'}">
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=normal"><i class="fa fa-eye"></i> {:__('Set to normal')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=hidden"><i class="fa fa-eye-slash"></i> {:__('Set to hidden')}</a></li>
                            </ul>
                        </div>
                        <a href="javascript:;" class="btn btn-success btn-change btn-start">
                            商品数量：<span>{$countnum}</span>
                        </a>

                        
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-search="false"
                           data-show-toggle = "false"
                           data-show-columns = "false"

                           data-operate-edit="{:$auth->check('goods/goods/edit')}"
                           data-operate-del="{:$auth->check('goods/goods/del')}"

                           width="100%">
                        <style type="text/css">
                            .fixed-table-toolbar .columns-right{
                                display: none;
                            }
                        </style>
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
